package com.itheima.api.integer.demo01;

public class IntegerDemo {

    public static void main(String[] args) {

        String valueOf = String.valueOf(1);
        System.out.println("String类型" + valueOf);
        String toString = Integer.toString(2);
        System.out.println("String类型" + toString);

        Integer integer = new Integer("3");
        System.out.println("Integer" + integer);
        Integer integer1 = Integer.valueOf("4");
        System.out.println("Integer" + integer1);
        int i = integer1.intValue();
        System.out.println("int" + i);

        int parseInt = Integer.parseInt("45");
        System.out.println(parseInt);

    }
}
